home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / WWIV Mods / WWCPBETA.ZIP / TWIT.DOC < prev    next >
Encoding:
Text File  |  1993-05-14  |  3.9 KB  |  87 lines

  1.  
  2. Unfortunately, it's become painfully clear that there are a lot of
  3. people on the nets without a shred of common sense. People are
  4. constantly trying to have files sent from file servers, subscribing
  5. to mailing lists, and doing all sorts of other Unfriendly Stuff
  6. through the WWCP gateways. Too much of this could literally
  7. destroy a WWIV-based network, and (because of the way WWIV networking
  8. functions) it's guaranteed to give WWCP a bad odor in the WWIV world
  9. even if it doesn't get to the point of net paralysis. Not to mention
  10. that it may cost *you* money, particularly if you're paying for a
  11. mail feed (or calling long distance to get one). Thus, this version of
  12. WWCP supports a "twitlist" feature. It allows you to selectively
  13. disable mail to and from certain addresses.
  14.  
  15. To use the feature,  you need to make two new files in your waffle/system
  16. directory, WWPOLICY and WWTWIT. Samples files for both are included. WWPOLICY
  17. contains your gateway policy statement. WWTWIT is the twit list itself. It
  18. contains a list of addresses, one per line, to which mail is disabled.
  19. Unix-style wildcarding is supported. * matches any number of characters,
  20. ? matches a single character, and a range of characters can be specified
  21. with []. WWTWIT is the file name for your primary network. If you're in
  22. more than one WWIV network, you need to have a separate twit file for each
  23. one. Use the same extender that you use for your other files (see
  24. MULTINET.DOC for more details).
  25.  
  26. The * and ? wild cards work just about the same way that they do in
  27. DOS. The [] construct is used thusly: to match either the character a
  28. or the character b, use [ab]. To match a range of characters, use something
  29. like [a-z]. This will match any lower-case alphabetic character. To
  30. match any numeric character, you could use [0-9].
  31.  
  32.  
  33. If an address is placed in the WWTWIT file, mail both to and from
  34. that address will be disabled. The "To:", "From:", "From", and "for"
  35. lines are all checked. The only mail a twitted WWIVnet user will be
  36. able to send is to postmaster@site, where site is the site name
  37. listed on the first line of your WWSTAT file. Twitted mail coming
  38. from the WWIVnet will result in the policy statement being returned
  39. to the originator of the mail. Twitted mail coming from the Internet
  40. will be bounced.
  41.  
  42. Both Internet and WWIVnet addresses can be placed in the twit file.
  43. If you put WWIVnet addresses in it, they should be in the form
  44. that normally appears in the From: line of your gated messages.
  45.  
  46. However, you may want to use a wildcard scheme to guard against a
  47. "clever" user getting around the twitting. Using something like:
  48.  
  49. *33-9999*
  50.  
  51. in the twit file will block addresses like 33-9999@wwiv.bogus.com,
  52. wwiv!33-9999@some.domain.org, foobox!yoursite!wwiv!33-9999, etc.
  53.  
  54.  
  55. You can enable mail to/from certain users to/from twitted addresses by using
  56. the ! negation operator. A line in the twit file that begins with a
  57. ! will allow mail to/from that address to flow through the gateway
  58. even if it is to/from a twitted user. At the very least, you'll probably
  59. want to do this with your own address. Example: Your mail address is
  60. bozo@foobar.com. To allow you to send and recieve mail from twitted
  61. users, put the line:
  62.  
  63. !bozo@foobar.com
  64.  
  65. in the twit file. You could also allow mail to/from your local machine
  66. only and prevent mail being forwarded across the network by using a couple
  67. of lines like:
  68.  
  69. *
  70. !*@foobar.com
  71.  
  72. The * line prohibits all mail from passing through the gateway, while
  73. the !*@foobar.com reenables mail for your local site. An address
  74. negated with ! overrides any other restriction that may be present.
  75. At a minimum, you should have the lines:
  76.  
  77. !*ostmaster*
  78. !MAILER-DAEMON*
  79.  
  80. in the file, to allow messages from [Pp]ostmaster@wherever to go through.
  81. This will allow bounce messages to pass through the gateway properly,
  82. and may help avoid bounce loops.
  83.  
  84. All email to/from a forbidden address is noted in the WWMAIL file in your
  85. admin directory.
  86.  
  87.